package com.sixteengroup.personnelms.dao.normalstaff;

/*
 *
 *@auth  biewenzhao
 *@date 2021/8/18  19:11
 */

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sixteengroup.personnelms.bean.RegUser;
import com.sixteengroup.personnelms.bean.User;
import com.sixteengroup.personnelms.bean.to.Cultivate;
import com.sixteengroup.personnelms.bean.to.RegSalary;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RegDao  extends BaseMapper<User> {

  List<RegSalary> getSararylimit(int id);

  void updateUserInfo(RegUser regUser);


  List<Cultivate> getCulvate(int id);

  void killArticle(@Param("rowid")  Integer rowid,
                   @Param("rowstatus")  String rowstatus);

  RegUser findUserList(@Param("id") int id);
}
